package com.itheima.map;

import java.util.HashMap;
import java.util.Map;

public class Demo01 {

    public static void main(String[] args) {
        Map<String,String> map= new HashMap<>();
        map.put("马蓉","宝强");
        map.put("马蓉","宋喆");
        map.put("dmz","签签");
        map.put("小璐","PGone");
        System.out.println(map);


        String s = map.get("马蓉");
        System.out.println(s);
        map.remove("dmz");
        System.out.println(map);

    }
}
